'use strict';

const qiniu = require('../controllers/qiniu');

module.exports = function (app, router, opts) {
    const { middlewares: { auth } } = app

    router.get('/qiniu/token', auth, qiniu.token, { content: '获取七牛Token', visible: true });
};